
// 表单提交逻辑
document.getElementById('apply-form').addEventListener('submit', function (event) {
    event.preventDefault();

    const shopName = document.getElementById('shop-name').value.trim();
    const contactPerson = document.getElementById('contact-person').value.trim();
    const phone = document.getElementById('phone').value.trim();
    const address = document.getElementById('address').value.trim();
    const description = document.getElementById('description').value.trim();

    if (!shopName || !contactPerson || !phone || !address || !description) {
        alert('请完整填写所有信息！');
        return;
    }

    // 模拟表单提交
    alert('您的申请已提交！我们将尽快与您联系。');
    // 可在此处添加实际提交逻辑，如发送请求到后台服务器
    this.reset();
});
